package main

import (
	"Demo03/part08/UpFile"
	"github.com/gin-gonic/gin"
	"net/http"
)

func main() {
	r := gin.Default()
	r.LoadHTMLGlob("part08/templates/**/*")

	r.StaticFS("/s", http.Dir("part08/static"))

	r.GET("/", UpFile.GetIndex)
	r.Run()
}
